package com.bdk.middle.goods.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author Reagan
 * @since 2021-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("e_comment")
public class CommentEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("goods_id")
    private String goodsId;

    @TableField("member_id")
    private String memberId;

    @TableField("content")
    private String content;

    @TableField("create_date")
    private Date createDate;

    @TableField("sort")
    private Integer sort;

    @TableField("views")
    private Integer views;

    @TableField("is_delete")
    private Integer isDelete;


}
